﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Data.Models
{
    /// <summary>
    /// 公告、用户评论表
    /// </summary>
    public class Comment
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int? Id { get; set; }
        /// <summary>
        /// 公告Id
        /// </summary>
        public int NoticeId { get; set; }
        /// <summary>
        /// 被回复的评论的Id
        /// </summary>
        public int CommentId { get; set; }
        /// <summary>
        /// 评论人的姓名
        /// </summary>
        public string OwnerName { get; set; }
        /// <summary>
        /// 被回复人的姓名
        /// </summary>
        public string TargetName { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 评论时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
